package com.lagou.edu.dao;

import com.lagou.edu.entity.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 赵虎
 * @date 2021/2/18 2:25 下午
 */
@Repository
public interface AuthCodeDao extends JpaRepository<AuthCode, Integer> {

    public AuthCode findFirstByEmailOrderByIdDesc(String email);
}
